<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="jquery/jquery.js"></script>
    <script src="jquery-form/jquery.form.js"></script>
    <script src="vue/vue.js"></script>
</head>
<body>

<div id="app">
    <form>
        <input name="url" placeholder="输入地址">
        <input type="button" id="btn" @click="submit()" value="获取"/><br/>
        <table border="1">
            <tr>
                <td>
                    <div v-html="content"></div>
                </td>
            </tr>
        </table>
    </form>
</div>

</body>
<script>
    var vue = new Vue({
        el: "#app",
        data: {
            content: ''
        },
        methods: {
            submit: function () {
                var url = $('input[name=url]').val();
                $.get("/getContent", {url: url}, function (data) {
                    vue.content = data;
                })
            }
        }
    })
</script>
</html>